class MG34WPickup extends SRKFWeaponPickup;

function bool CheckCanCarry(KFHumanPawn Hm)
{
	local KFPlayerReplicationInfo KFPRI;
	KFPRI = KFPlayerReplicationInfo(Hm.PlayerReplicationInfo);
	if (KFPRI != none)
	{
		if (KFPRI.ClientVeteranSkill == Class'SRVetCommando' && 
			KFPRI.ClientVeteranSkillLevel > 12)
			return Super.CheckCanCarry(Hm);
	}
	return false;
}

defaultproperties
{
     Weight=9.000000
     cost=3000
     AmmoCost=350
     BuyClipSize=150
     PowerValue=60
     SpeedValue=80
     RangeValue=60
     Description="Standard issue military rifle. Equipped with an integrated 2X scope."
     ItemName="MG34"
     ItemShortName="MG34"
     AmmoItemName="75rnd Drum, 7.92x57"
     showMesh=SkeletalMesh'mganims.mg34_3rd'
     AmmoMesh=StaticMesh'kf_generic_sm.pickups.Metal_Ammo_Box'
     CorrespondingPerkIndex=3
     EquipmentCategoryID=3
     InventoryType=Class'PerksSimHostOrg.MG34W'
     PickupMessage="You got the MG34"
     PickupSound=Sound'KF_AK47Snd.AK47_Pickup'
     PickupForce="AssaultRiflePickup"
     StaticMesh=StaticMesh'mgpickups.mg34'
     CollisionRadius=25.000000
     CollisionHeight=5.000000
}
